package ${package}.${packageService};

<#assign upClassName=className?cap_first>
import ${package}.${packageEntity}.${upClassName};

import java.util.List;

public interface I${upClassName}Service {

    /**
     * 创建${tableComment}
     * @param ${className}
     */
    void create(${upClassName} ${className});

    /**
     * 修改${tableComment}
     * @param ${className}
     */
    void modifyById(${upClassName} ${className});

    /**
     * 根据主键删除${tableComment}
     * @param id
     */
    void deleteById(Long id);

    /**
     * 根据主键获取${tableComment}
     * @param id
     * @return
     */
    ${upClassName} get${upClassName}ById(Long id);

    /**
     * 查询${tableComment}
     * @param ${className}
     * @return
     */
    List<${upClassName}> findList(${upClassName} ${className});
}